/*----------------------------------------------------------------------------*/
/* Team 3647
 /* All subroutines are called from here
 /*----------------------------------------------------------------------------*/
package Robot;

import edu.wpi.first.wpilibj.IterativeRobot;

public class Main extends IterativeRobot {

    public void robotInit() {
        System.out.println("Robot up");
        DriveTrain.CompStart();
        Shooter.StartEncoder();
    }

    public void disabledInit() {
        System.out.println("Reset");
        Shooter.ResetShooter();
        Auton.resetAuton();
    }

    public void autonomousInit() {
        Auton.resetAuton();
    }
    
    public void autonomousPeriodic() {
        Auton.AutonProcess();
    }

    public void teleopPeriodic() {
        DriveTrain.TankCD();
        DriveTrain.compressor();

        Tower.BallLift();
        Tower.Stop();
        Tower.Birdge();

        Shooter.RunShooter();
        Shooter.PanCamera();
    }
}